export default  {
    data(){
        return {
            routerParam:JSON.parse(localStorage.getItem('routerParams'))
        }
    },
    beforeCreate(){
        if(this.$route && this.$route.params && JSON.stringify(this.$route.params) != '{}'){
            localStorage.setItem('routerParams', JSON.stringify(this.$route.params));
        }
    }
}